package exercise_3;

public class Student {
	public int getChineseScore() {
		return chineseScore;
	}
	public void setChineseScore(int chineseScore) {
		this.chineseScore = chineseScore;
	}
	public int getMathScore() {
		return mathScore;
	}
	public void setMathScore(int mathScore) {
		this.mathScore = mathScore;
	}
	public int getEnglishScore() {
		return englishScore;
	}
	public void setEnglishScore(int englishScore) {
		this.englishScore = englishScore;
	}
	public int getPhysicScore() {
		return physicScore;
	}
	public void setPhysicScore(int physicScore) {
		this.physicScore = physicScore;
	}
	public int getChemistryScore() {
		return chemistryScore;
	}
	public void setChemistryScore(int chemistryScore) {
		this.chemistryScore = chemistryScore;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIDnumber() {
		return IDnumber;
	}
	public void setIDnumber(String iDnumber) {
		IDnumber = iDnumber;
	}

	public int getSumScore() {
		
		return sumScore;
	}
	public void setSumScore() {
		this.sumScore = this.chineseScore+this.mathScore+this.englishScore+this.chemistryScore+this.physicScore;
	}
	private String name;
	private String IDnumber;
	private int chineseScore;
	private int mathScore;
	private int englishScore;
	private int physicScore;
	private int chemistryScore;
	private int sumScore;
}
